export const PUBLIST_STATUS = {
  0: { codeNum: 0, codeName: '未发布', codeTypeNum: 'PUBLIST_STATUS', tag: 'info' },
  1: { codeNum: 1, codeName: '已发布', codeTypeNum: 'PUBLIST_STATUS', tag: 'success' },
};

export const COL_INDEXS = [{
  prop: 'traineeNum',
  label: '学员人数',
  // isBar: true
}, {
  prop: 'finishNum',
  label: '课程完成人数'
}, {
  prop: 'finishRate',
  label: '课程完成率',
  unit: '%'
}, {
  prop: 'perExercisesDuration',
  label: '课程人均练习时长（分）'
}, {
  prop: 'perExercisesNum',
  label: '课程人均练习次数（次）'
}, {
  prop: 'overallAvgScore',
  label: '课程平均综合分'
}];

export const COL_INDEXS_LESSON = [{
  prop: 'traineeNum',
  label: '学员人数',
  // isBar: true
}, {
  prop: 'finishNum',
  label: '课时完成人数'
}, {
  prop: 'finishRate',
  label: '课时完成率',
  unit: '%'
}, {
  prop: 'perExercisesDuration',
  label: '课时人均练习时长（分）'
}, {
  prop: 'perExercisesNum',
  label: '课时人均练习次数（次）'
}, {
  prop: 'overallAvgScore',
  label: '课时平均综合分'
}];
